package com.dailyblue.example.project.bookstore.logistics;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.context.annotation.ComponentScan;

@SpringBootApplication
@EnableDiscoveryClient
@RefreshScope
@ServletComponentScan("com.dailyblue.example.project.bookstore.user.filter")
@MapperScan("com.dailyblue.example.project.bookstore.commons.mapper")
@ComponentScan("com.dailyblue.example.project.bookstore")
public class BookstoreLogisticsApplication {
    public static void main(String[] args) {
        SpringApplication.run(BookstoreLogisticsApplication.class, args);
    }
}